$(function(){

    //加盟政策
    var policy ={
    };

    /**
     * 初始化
     * **/
    policy.init = function(){
        $.ajax({
            async: false,
            url: '/content/findContentPolicy',
            success: function (result) {
                if (result && result.code == 200) {
                    if (result.data != '') {
                        var $newsHtml =  $('#contentText');
                        $newsHtml.html(result.data.contentText);
                        $(".brief img").attr("src", result.data.advertUrl);
                    }
                }
            },
            error: function () {
                layer.alert('服务器出错啦！', {icon: 2, title: '错误'});
            }
        });
    }
    //初始化
    policy.init();
    header.selLiCss("hz");
    //一级菜单选中
});